package com.neuedu.hisadmin.service;

import com.neuedu.hisadmin.entity.Rule;
import com.neuedu.hisadmin.dto.RuleDTO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface IRuleService extends IService<Rule> {
    List<RuleDTO> getRuleWithRelations();  // 基础查询
    List<RuleDTO> getRuleWithRelationsByCondition(String deptName, String doctorName, String ruleName); // 条件查询
   //新增排版规则方法
    boolean saveRule(Rule rule);
}

